|
In the C++ Standard Library, algorithms are components that perform algorithmic operations on containers and other sequences.〔ISO/IEC (2003). ''ISO/IEC 14882:2003(E): Programming Languages - C++ §25 Algorithms library ()'' para. 1〕 The C++ standard provides some standard algorithms collected in the standard header. A handful of algorithms are also in the header. All algorithms are in the namespace.==Categories of algorithms== The algorithms in the C++ Standard Library can be organized into the following categories. * Non-modifying sequence operations (e.g. , , ) * Modifying sequence operations (e.g. , , ) * Sorting (e.g. sort , , )* Binary search (e.g. , ) * Heap (e.g. , ) * Min/max (e.g. , ) 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Algorithm (C++)」の詳細全文を読む スポンサード リンク
|